package dal.object;

import java.awt.image.BufferedImage;

import gui.event.Collision;

public class Movable extends Rock {
	protected Ground ground;
	protected BufferedImage sink;
	
	public Movable(){
		super();
	}
	
	public void impact(Collision cld){
		cld.movableCollision();
	}
	
	/**
	 * @return
	 * 	the image when the object sunk
	 */
	public BufferedImage sink(){
		return sink;
	}
	
	/**
	 * @return
	 * 	the ground when the object sunk
	 */
	public Ground getGround() {
		return ground;
	}
}
